package com.situ.spring.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.situ.spring.entity.Banji;
import com.situ.spring.service.IBanjiService;

@Controller
public class BanjiController {
	
	// @Resource(name = "banjiService")
	@Autowired
	private IBanjiService banjiService;
	
	public void findAll() {
		System.out.println("BanjiController.findAll()");
		List<Banji> list = banjiService.findAll();
	}
}
